package com.lc.demo.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Table(name = "teacher")
public class Teacher  {

    @Id
    private  Integer id;
    private  String username;
    private  String password;
    private  String name;

}
